package org.dromara.germbank.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BusOperationsAdvertisementVo {

    @Schema(description = "广告名称")
    private String name;

    @Schema(description = "广告所在页面")
    private String page;

    @Schema(description = "广告位属性")
    private String position;

    @Schema(description = "素材文件路径或URL")
    private String materialUrl;

    @Schema(description = "落地页链接")
    private String landingUrl;

    @Schema(description = "开始展示时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "结束展示时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @Schema(description = "排序权重")
    private Integer sortWeight;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
